package com.example.zqh.mapper;

import com.example.zqh.pojo.Emp;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zqh
 * @since 2022-09-10
 */
public interface EmpMapper extends BaseMapper<Emp> {
    /**
      * @Author: zqh
      * @Date: 
      * @Description: 获取所有的数量
    */
    Integer getEmptyNumber();

    /**
      * @Author: zqh
      * @Date:
      * @Description: 分页查询所有员工
    */
    List<Emp> paginationToQueryAllEmployees(Integer page,Integer size);

}
